package com.zl.pojo;

/**
 * @Author ljm
 * @Date 2021/12/2 19:32
 */
public class EasyBuyOrderDetail {
    /**
     * 主键id
     */
    private Integer id;
    /**
     * 订单主键
     */
    private Integer orderId;
    /**
     * 商品主键
     */
    private Integer productId;
    /**
     * 数量
     */
    private Integer quantity;
    /**
     * 消费
     */
    private Double cost;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Double getCost() {
        return cost;
    }

    public void setCost(Double cost) {
        this.cost = cost;
    }

    @Override
    public String toString() {
        return "EasyBuyOrderDetail{" +
                "id=" + id +
                ", orderId=" + orderId +
                ", productId=" + productId +
                ", quantity=" + quantity +
                ", cost=" + cost +
                '}';
    }
}
